<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>Document</title>
</head>
<body>
<a href="obj00.html">作业一</a>
<a href="obj01.html">作业二</a>
<a href="obj02.html">作业三</a>
<a href="obj03.html">作业四</a>
<a href="obj04.html">作业五</a>
<script>
    var now = new Date();
    var hour = now.getHours();
    if(hour < 6){document.write("凌晨好！")}
    else if (hour < 9){document.write("早上好！")}
    else if (hour < 12){document.write("上午好！")}
    else if (hour < 14){document.write("中午好！")}
    else if (hour < 17){document.write("下午好！")}
    else if (hour < 19){document.write("傍晚好！")}
    else if (hour < 22){document.write("晚上好！")}
    else {document.write("夜里好！")}

</script>
</body>
</html>